export default class Singleton {
    private static _instance: any=null;

    public constructor() {
        // Private constructor to prevent instantiation
    }

    public static getInstance<T>(): T {
        if (!Singleton._instance) {
            Singleton._instance = new this;
        }
        return this._instance;
    }


}